package org.example.pms.mapper;


import org.example.pms.domain.Patient;

import java.util.List;

/**
 * @author 小小怪
 * @description 针对表【patient(患者信息表)】的数据库操作Mapper
 * @createDate 2024-07-13 16:31:25
 * @Entity generator.domain.Patient
 */
public interface PatientMapper {

    Patient selectById(Integer pid);

    List<Patient> selectPatients();

    List<Patient> selectPatientsByUid(Integer userId);

    Integer insertPatient(Patient patient);
}
